#ifndef XMLSAXHANDLER_H
#define XMLSAXHANDLER_H
#include <QtXml/QtXml>
#include <workspacefactory.h>
class XMLSaxHandler: public QXmlDefaultHandler
{
public:
    XMLSaxHandler();
    bool startDocument();
    bool endElement( const QString&, const QString&, const QString &name );

    bool startElement( const QString&, const QString&, const QString &name, const QXmlAttributes &attrs );

private:
    bool inAdBook;
    bool inRobotTag;
    bool inPathTag;
    bool inWorkspaceTag;
};

#endif // XMLSAXHANDLER_H
